package test.action;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.junit.Test;

import com.cn.struts2.UserBaseAction;

import test.TestBase;

public class TextUserBaseAction extends TestBase{
	private Logger logger = Logger.getLogger(TextUserBaseAction.class);
	
	@Resource
	private UserBaseAction userBaseAction;
	
	@Test
	public void add(){
		userBaseAction.addNewManager("usname", "13");
	}
	
//	@Test
//	public void del(){
//		userBaseAction.delUserbase("402890db464595d301464595dbff0000");
//	}
//	
//	@Test
//	public void update(){
//		userBaseAction.updateManager("402890db464238a701464238b26c0000","yonghuming","555");
//	}
//	@Test
//	public void select(){
//		userBaseAction.findbyUserBase("usname", "13");
//	}
}
